﻿using System;

namespace mki.Backup.Objects.ValidationObjects
{
	/// <summary>
	/// Represents the ValidationErrorItem class
	/// </summary>
	[Serializable]
	public class ValidationErrorItem
	{
		#region Properties (4)

		// Public Properties (4) 

		// will be filled in GUI
		/// <summary>
		/// Gets or sets the element.
		/// </summary>
		/// <value>The element.</value>
		public String Element { get; set; }

		/// <summary>
		/// Gets or sets the field name of the validated object to get the correct message from the resource file.
		/// </summary>
		/// <value>The field.</value>
		public String Field { get; set; }

		/// <summary>
		/// Gets or sets the item.
		/// </summary>
		/// <value>The item.</value>
		public Object Item { get; set; }

		// will be filled in GUI
		/// <summary>
		/// Gets or sets the message.
		/// </summary>
		/// <value>The message.</value>
		public String Message { get; set; }

		#endregion Properties
	}
}